package com.zhanghu.backendZray.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.zhanghu.backendZray.pojo.entity.DailyPlan;
import com.zhanghu.backendZray.pojo.request.dailyPlanTask.DailyPlanPageRequest;
import com.zhanghu.backendZray.pojo.request.dailyPlanTask.DailyPlanRequest;
import com.zhanghu.backendZray.pojo.vo.DailyPlanVo;

/**
 * @author ZhangDong
 * @date 2024/7/7 18:14
 */
public interface DailyPlanService extends IService<DailyPlan> {
    void add(DailyPlanRequest dailyPlanRequest);

    void update(DailyPlanRequest dailyPlanRequest);

    void del(Long id);

    Page<DailyPlanVo> page(DailyPlanPageRequest dailyPlanRequest);

    DailyPlan getById(Long id);

    void createTask(Long id);
}
